package cn.ubeta.b2c.opengl;

import android.opengl.GLSurfaceView;
import android.os.Bundle;

import cn.ubeta.b2c.R;
import cn.ubeta.b2c.common.AnalyseActivity;

/**
 * Created by denny on 16/9/1.
 */

public class OpenGlActivity extends AnalyseActivity {

    private GLSurfaceView mGlSurfaceView;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState, R.layout.activity_opengl);

        mGlSurfaceView = (GLSurfaceView) findViewById(R.id.gl_surface_view);
    }

    @Override
    protected void onResume() {
        super.onResume();
        mGlSurfaceView.onResume();
    }

    @Override
    protected void onPause() {
        super.onPause();
        mGlSurfaceView.onPause();
    }

}
